<?php

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

class Fan extends Model
{
	protected $table = 'fans';
//	设置无黑名单字段
	protected $guarded = ['id'];

    public function fanDetail()
    {
        return $this->hasOne(\App\Http\Models\User::class,'fan_id','id');
    }


}
